<include file="Public:head" title='订单配置' />
<script>
    function joinShorts(url) {
        if (url == '') {
            url = "__APP__/Admin/Box/joinShorts";
        }
        $.post(url, {
        }, function(data) {
            $('#mainbox2').html(data);
            showbgbox3('#mainbox2', 0, 0);
            $(".page a").click(function() {
                var href = $(this).attr("data-href");
                choseShop(href);
            })
        })
    }
</script>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <include file="Public:left" />
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li><i class="icon-home home-icon"></i><a href="__APP__/{$Think.MODULE_NAME}">首页</a></li>
                    <li><a href="{:U('Communications/shorts')}">订单管理</a></li>
                    <li class="active">订单配置</li>
                </ul>
            </div>
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="row">
                            <div class="col-xs-12">
                                <h3 class="header smaller lighter blue">订单配置</h3>

                                <form action="{:U('order/set_post')}" method="POST" id="form" enctype="multipart/form-data" >
                                    <table class="table table_detail">
                                        <tbody>

                                            <tr class="pay_title pay_select" >
                                                <td colspan='2' style='padding-left: 12px;font-size: 14px'><strong>下单音乐配置</strong></td>
                                            </tr>
                                            <tr class="a1">
                                                <td class="td_left">开启状态</td>
                                                <td width="80%" align="left" style="text-align:left">
                                                    <label><input name="is_start" type="radio" value="1" <if condition="$detail.is_start eq 1">checked</if> /> 开启</label>
                                                    <label><input   name="is_start" type="radio"   value="0" <if condition="$detail.is_start eq 0">checked</if>/> 关闭</label>
                                                </td>
                                            </tr>
                                             <tr class="a1" >
                                                <td class="td_left">请求时间</td>
                                                <td width="80%" align="left" style="text-align:left">
                                                    <input type="text"  id="seconds" style="width:80px"  value="{$detail.seconds}" name="seconds" autocomplete="off"/> 秒
                                                </td>
                                            </tr>
                                            <tr>
                                            <td class="td_left">上传mp3:</td>
                                            <td>
                                                <input name="video" type="file" id="video" />
                                                <p>{$detail.video}</p>
                                            </td>
                                        </tr>
                                            <tr>
                                                <td class="td_left"></td>
                                                <td>
                                                    <button class="btn btn-info btn-sm" type="submit">
                                                        <i class="icon-ok bigger-110 "></i>
                                                        保 存
                                                    </button>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <include file="Public:setting" />
    </div>
</div>
<include file="Public:foot" />